package com.tencreat.service.mall;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tencreat.common.core.domain.model.ReqIdParam;
import com.tencreat.common.core.domain.model.ReqIdsParam;
import com.tencreat.domain.mall.MallSignIn;
import com.tencreat.domain.mall.vo.MallSignInVO;

import java.util.List;

/**
 * 签到配置Service接口
 *
 * @author tencreat
 * @date 2022-01-17
 */
public interface IMallSignInService  extends IService<MallSignIn> {
    /**
     * 查询签到配置
     *
     * @param id 签到配置ID
     * @return 签到配置
     */
    public MallSignIn selectMallSignInById(ReqIdParam id);

    /**
     * 查询签到配置列表
     *
     * @param mallSignIn 签到配置
     * @return 签到配置集合
     */
    public List<MallSignIn> selectMallSignInList(MallSignIn mallSignIn);

    /**
     * 新增签到配置
     *
     * @param mallSignIn 签到配置
     * @return 结果
     */
    public int insertMallSignIn(MallSignIn mallSignIn);

    /**
     * 修改签到配置
     *
     * @param mallSignIn 签到配置
     * @return 结果
     */
    public int updateMallSignIn(MallSignIn mallSignIn);

    /**
     * 批量删除签到配置
     *
     * @param ids 需要删除的签到配置ID
     * @return 结果
     */
    public int deleteMallSignInByIds(ReqIdsParam ids);

    /**
     * 删除签到配置信息
     *
     * @param id 签到配置ID
     * @return 结果
     */
    public int deleteMallSignInById(ReqIdParam id);
}
